--[[1游戏服务]]----------------------------------------------------------- class---------------------------------------------------------local Service = class("Game")function Service:ctor(name)    g.handler = new("games.handler")    self:register()endfunction Service:register()    self:callback("start", self.onStart)    self:callback("close", self.onClose)endfunction Service:onStart()    print("onStart")    g.handler:onStart()    return trueendfunction Service:onClose()    print("onClose")    return trueendreturn Service